home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PView.cpp < prev    next >
C/C++ Source or Header  |  1996-10-10  |  667b  |  29 lines

  1. /*
  2.  *--- PView.cpp ----------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Thu, Oct 12, 1995 @ 10:55 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PView.html     
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PView.h"
  12.  
  13. #include "PRequestBuf.h"
  14.  
  15. #include "PCommand.h"
  16.  
  17. PView::PView(short nPercentage, PMBool bAllPages = false)
  18. {
  19.     char x[4];
  20.     
  21.     PRequestBuf request(x);
  22.     request << nPercentage << bAllPages;
  23.  
  24.     PCommand command(pm_view, request);
  25. }
  26.  
  27.  
  28. // end of PView.cpp
  29.